﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StoreManagementSystem.DomainObjects;

namespace StoreManagementSystem.DomainObjects
{
    public class Product : Entity
    {
        private string m_id;
        private string m_Name;
        private Brand m_Brand;
        private string m_Description;
        private List<Category> m_Categories;
        
        public Product(string Name)
        {
            this.Name = Name;
        }

        public Product()
        {
            this.Name = "";
        }

        public string id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        public Brand Brand
        {
            get { return m_Brand; }
            set { m_Brand = value; }
        }

        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        public List<Category> Categories
        {
            get { return m_Categories; }
            set { m_Categories = value; }
        }

    }
}
